package com.gxh.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel (description = "设备销售数据传输对象")
public class MachineSaleDTO implements Serializable {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("设备id")
    private Long machineId;
    @ApiModelProperty("购买人或公司")
    private String buyerName;
    @ApiModelProperty("联系方式")
    private String buyerPhone;
    @ApiModelProperty("购买地址")
    private String buyerLocation;
    @ApiModelProperty("销售金额")
    private BigDecimal soldPrice;
    @ApiModelProperty("售出时间")
    private LocalDateTime createTime;
}
